package com.example.demo.client.evt.cssmqry.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-30 18:08:33
 */
@ApiModel("上级菜单查询参数")
public class GetParentMenuEvt implements Serializable {
    private static final long serialVersionUID = 3142182668220337505L;
    @ApiModelProperty("排除的菜单ID")
    private Long excludeMenuId;
    @ApiModelProperty("菜单ID")
    @NotNull
    private Long parentId;

    public Long getExcludeMenuId() {
        return excludeMenuId;
    }

    public void setExcludeMenuId(Long excludeMenuId) {
        this.excludeMenuId = excludeMenuId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "GetParentMenuEvt{" +
            "excludeMenuId=" + excludeMenuId +
            ", parentId=" + parentId +
            '}';
    }
}
